﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SqlMiM.ReportingServices.Core
{
    public enum ResultWarningType
    {
        Completed,
        NoDataFound,
        ItemAlreadyExists,
        DataSourcePasswordMustBeSupplied,
        IOException,
        WebException,
        SoapException,
        Exception
    }

    
    public class ResultWarning
    {
        private ResultWarningType type;

        public ResultWarningType Type
        {
            get { return type; }
            set { type = value; }
        }

        private Exception exception;

        public Exception Exception
        {
            get { return exception; }
            set { exception = value; }
        }

        private string message;

        public string Message
        {
            get { return message; }
            set { message = value; }
        }
    }


}
